Use local var in Action::setHeaders
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 9 Sep 2014 18:22:35 +0000 (20:22 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 13 Sep 2014 07:21:32 +0000 (07:21 +0000)
Change-Id: I543d45835016fd6f4f2ec0e84f4e5453237bbf25

includes/actions/Action.php

index ffdf516..8d11d90 100644 (file)
@@ -351,7 +351,7 @@ abstract class Action {
                $out = $this->getOutput();
                $out->setRobotPolicy( "noindex,nofollow" );
                $out->setPageTitle( $this->getPageTitle() );
-               $this->getOutput()->setSubtitle( $this->getDescription() );
+               $out->setSubtitle( $this->getDescription() );
                $out->setArticleRelated( true );
        }